package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上课时间配置规则对象 sc_cla_time_rule
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class ScClaTimeRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则id */
    private Long ruleId;

    /** 课程班级 */
    @Excel(name = "课程班级")
    private Long claId;

    /** 开始日期 */
    @Excel(name = "开始日期")
    private String beginDate;

    /** 结束日期 */
    @Excel(name = "结束日期")
    private String endDate;

    /** 上课星期 周几上课 */
    private String weekDay;

    /** 上课时间 */
    @Excel(name = "上课时间")
    private String startTime;

    /** 下课时间 */
    @Excel(name = "下课时间")
    private String endTime;

    /** 任课教师 */
    @Excel(name = "任课教师")
    private Long teacherId;

    /** 上课教学楼 */
    @Excel(name = "上课教学楼")
    private String roomName;

    /** 上课教室号 */
    @Excel(name = "上课教室号")
    private String roomId;

    /** 课程 */
    @Excel(name = "课程")
    private String course;

    /** 创建者 */
    private String createUser;

    /** 更新者 */
    private String lastUpdateUser;

    /** 更新时间 */
    private Date lastUpdateTime;

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setClaId(Long claId) 
    {
        this.claId = claId;
    }

    public Long getClaId() 
    {
        return claId;
    }
    public void setBeginDate(String beginDate) 
    {
        this.beginDate = beginDate;
    }

    public String getBeginDate() 
    {
        return beginDate;
    }
    public void setEndDate(String endDate) 
    {
        this.endDate = endDate;
    }

    public String getEndDate() 
    {
        return endDate;
    }
    public void setWeekDay(String weekDay) 
    {
        this.weekDay = weekDay;
    }

    public String getWeekDay() 
    {
        return weekDay;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setCourse(String course) 
    {
        this.course = course;
    }

    public String getCourse() 
    {
        return course;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setLastUpdateUser(String lastUpdateUser) 
    {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateUser() 
    {
        return lastUpdateUser;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("claId", getClaId())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .append("weekDay", getWeekDay())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("teacherId", getTeacherId())
            .append("roomName", getRoomName())
            .append("roomId", getRoomId())
            .append("course", getCourse())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("lastUpdateUser", getLastUpdateUser())
            .append("lastUpdateTime", getLastUpdateTime())
            .toString();
    }
}
